package com.wtb.javatool.service;

import com.wtb.javatool.dto.UserDto;
import com.wtb.javatool.entity.Team;

import java.util.List;

public interface TeamService {
    void addTeam(Long classId,String teamName);
    void deleteTeam(Long teamId);

    void updateTeamLeader(Long teamId,Long userId);
    
    /**
     * 根据小组ID查询小组成员
     * 
     * @param teamId 小组ID
     * @return 小组成员列表
     */
    List<UserDto> findStudentsByTeamId(Long teamId);
}
